package com.njmt.cloud.msprovder.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.njmt.cloud.msprovder.entity.OauthClientDetailsEntity;
import com.njmt.cloud.msprovder.mapper.OauthClientDetailsMapper;
import com.njmt.cloud.msprovder.service.OauthClientDetailsService;
import com.njwt.cloud.mscommon.pojo.vo.AuthorityVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author <a href="mailto:xingxiaofeng@gtmap.cn">xingxiaofeng</a>
 * @date 2022-06-21
 * @desc OauthClientDetailsServiceImpl
 */
@Service("oauthClientDetailsService")
public class OauthClientDetailsServiceImpl extends ServiceImpl<OauthClientDetailsMapper,AuthorityVo> implements OauthClientDetailsService {

    @Override
    public AuthorityVo findOauthClientDetailsByClientId(String clientId) {
        return baseMapper.getOauthClientDetailsByClientId(clientId);
    }
}
